package cymbol;

public interface Scope {
    public String getScopeName();

    // where to look next for symbol
    public Scope getEnclosingScope();

    // define a symbol in the current scope
    public void define(Symbol symbol);

    // look up name in this scope or in enclosing scope if not here
    public Symbol resolve(String name);
}
